package com.online.edu.util.utils;

import java.util.Date;

public class TimeUtil {

    /**
     * 获取服务器时间错
     * @return 时间戳
     */
    public static Long timestamp(){
        return new Date().getTime()/100;
    }

    public static String timestamp(Object o){
        return timestamp().toString();
    }

}
